<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="custom" tagdir="/WEB-INF/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<link rel="stylesheet" type="text/css" href="/WEB-INF/css/stylesheet.css">
	<title>GPS Locations</title>
</head>
	<body>
		<div class="body">
			<div id="topBar">
				<div id="pageTitle">
					GPS Locations	
				</div>			
			</div>
			<custom:menuBar/>
			<div class="body">
				<div class="locations">
					<table class="locationTable">
						<tr id="headers">
							<td>Date</td>
							<td>Latitude</td>
							<td>Longitude</td>
							<td>Altitude</td>
						</tr>
						<c:forEach var="location" items="${locations}">
							<tr id="data">
								<td>${location.time}</td>
								<td>${location.latitude}</td>
								<td>${location.longitude}</td>
								<td>${location.altitude}</td>
							</tr>
						</c:forEach>
						<tr><br></tr>
					</table>
				</div>
			</div>
		</div>
	</body>
</html>